	package com.xlh.openai.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author 1280251739@qq.com
 * @email sunlightcs@gmail.com
 * @date 2023-03-31 21:29:05
 */
@Data
@TableName("product")
@ApiModel("ProductEntity")
public class ProductEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.AUTO)
	@ApiModelProperty("主键值")
	private Integer id;
	@ApiModelProperty("产品名称")
	private String name;
	@ApiModelProperty("产品描述")
	private String description;
	@ApiModelProperty("产品售出最小单位")
	private Integer sku;
	@ApiModelProperty("库存")
	private Integer stock;
	@ApiModelProperty("产品价格")
	private BigDecimal price;
	@ApiModelProperty("是否交换")
	private Integer isExchange;
	@ApiModelProperty("照片")
	private String imageUrl;
	@ApiModelProperty("分类")
	private String category;

}
